Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Use correct param types #11073

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Nov 27, 2023

Issue silverstripe/silverstripe-admin#1618

Needed for lazy load limit to work correctly

SearchContext limit has the wrong dockblock param type in a couple of places, using string instead of int. The limit is ultimately passed through to DataList::limit() which has a nullable int for its param type.

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GuySartorelli GuySartorelli merged commit ff38ff1 into silverstripe:5 Dec 11, 2023
15 checks passed
@GuySartorelli GuySartorelli deleted the pulls/5/limit-int branch December 11, 2023 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants